/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const bookRouter = {
  path: '/book',
  component: Layout,
  redirect: 'noRedirect',
  name: 'bookDemo',
  meta: {
    title: '台账管理',
    icon: 'component'
  },
  children: [{
    path: 'cost',
    component: () => import('@/views/book/cost'),
    name: 'bookCost',
    meta: {
      title: '成本管理'
    }
  }, {
    path: 'profit',
    component: () => import('@/views/book/profit'),
    name: 'bookProfit',
    meta: {
      title: '利润台账'
    }
  }, {
    path: 'customer',
    component: () => import('@/views/book/customer'),
    name: 'bookCustomer',
    meta: {
      title: '客户台账'
    }
  }

  ]
}

export default bookRouter
